package com.github.lyd.admin.provider.configuration;

import com.github.abel533.sql.SqlMapper;
import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class APIJSONConfig {
	@Autowired
    SqlSession sqlSession;
	@Bean("sqlMapper")
    public SqlMapper sqlMapper(){
        return  new SqlMapper(sqlSession);
    }
}
